package com.woniuxy.joylifecenter.service;

import com.woniuxy.common.constant.ForbiddenWordsConstant;
import com.woniuxy.common.entity.CenterForbiddenwords;

import java.util.*;

public interface ForbiddenWordsService {
    /**
     * @return java.lang.Integer
     * @Author ArmWatt
     * @Date 2020/5/11
     * @Param [words]
     * @Description 审核禁词
     **/
    Integer checkWords(List<String> words);

    /**
     * @return java.util.List<java.lang.String>
     * @Author ArmWatt
     * @Date 2020/5/11
     * @Param [words]
     * @Description 批量添加禁词
     **/
    List<String> batchAddWords(List<CenterForbiddenwords> words);

    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/11
     * @Param [word]
     * @Description 按条件模糊查询禁词
     **/
    List<CenterForbiddenwords> queryWordsByCondition(CenterForbiddenwords word);

    /**
     * @return java.util.List<com.woniuxy.common.entity.CenterForbiddenwords>
     * @Author ArmWatt
     * @Date 2020/5/11
     * @Param [words]
     * @Description 添加查重
     **/
    List<CenterForbiddenwords> addVerify(List<CenterForbiddenwords> words);

    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/11
     * @Param [wordsId]
     * @Description 批量删除禁词
     **/
    int batchDeleteWords(List<String> wordsId);

    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/11
     * @Param [word]
     * @Description 编辑单个禁词
     **/
    int editWord(CenterForbiddenwords word);
}
